<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<script>
	jQuery(document).ready(function() {
		jQuery("#service-creation_form").validationEngine();
	});
</script>
<form:form action="newservice" method="post" id="service-creation_form"
	modelAttribute="service">
	<fieldset>
		<legend>
			<img src='<c:url value="/images/services.jpg"/>'><b>Services</b>
		</legend>
		<label>Nom : </label>
		<form:input type="text" size="33" path="nom" value=""
			class="validate[required,custom[onlyLetterSp]]" />
		<label>Description : </label>
		<form:input type="text" size="33" path="description" value=""
			class="validate[required]" />
		<label>URL : </label>
		<form:input type="text" size="33" path="lien" value=""
			class="validate[required]" />
		<label>Image : </label>
		<form:input type="text" size="33" path="urlimage"
			value="/portail/images/produits/" class="validate[required]" />
		<br> <br> <input type="submit" value="Ajouter" />


	</fieldset>
</form:form>